@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input id="id" name="" type = "hidden"/>
            <div class="row">
                <div class="col-sm-6 b-r">
                            <#select id="purName" name="采购名称" underline="true"></#select>
                            <#select id="purSupplier" name="供应商" underline="true"></#select>
                            <#input id="purFax" name="传真" underline="true"/>
                            <#input id="purPic" name="负责人" underline="true"/>
                            <#input id="purPicTel" name="负责人电话" underline="true"/>
                            <#input id="purSpec" name="采购规格" underline="true"/>
                            <!--<#input id="purSupplierTel" name="供应商电话"/>-->
                </div>

                <div class="col-sm-6">
                            <#input id="purId" name="采购单号" underline="true" palceholder="系统自动获取" readonly="readonly"/>
                            <#input id="purAdress" name="收货地址" underline="true"/>
                            <#input id="purPayType" name="付款方式" underline="true"/>
                            <#input id="purDate" name="采购日期" underline="true" type = "text"/>
                            <#input id="purNumber" name="采购数量" underline="true"/>

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PurchaseInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PurchaseInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/caigou/purchase/purchase_info.js"></script>
<script>
    laydate.render({
        elem:'#purDate'
        ,type:'datetime'
    });
</script>

@}
